# encoding: utf-8
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models

class Migration(SchemaMigration):

    def forwards(self, orm):
        
        # Adding model 'Wordform'
        db.create_table('dbsupply_wordform', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
        ))
        db.send_create_signal('dbsupply', ['Wordform'])

        # Adding model 'Lemma'
        db.create_table('dbsupply_lemma', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('spelling', self.gf('django.db.models.fields.CharField')(max_length=500)),
            ('verified', self.gf('django.db.models.fields.BooleanField')(default=False)),
            ('verification_comment', self.gf('django.db.models.fields.TextField')(blank=True)),
            ('created', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime(2011, 11, 30, 15, 7, 43, 667142), auto_now_add=True, blank=True)),
        ))
        db.send_create_signal('dbsupply', ['Lemma'])

        # Adding model 'POSCommon'
        db.create_table('dbsupply_poscommon', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('spelling', self.gf('django.db.models.fields.CharField')(max_length=500)),
            ('lemma', self.gf('django.db.models.fields.related.ForeignKey')(related_name='poscommon_pos', to=orm['dbsupply.Lemma'])),
            ('verified', self.gf('django.db.models.fields.BooleanField')(default=False)),
            ('verification_comment', self.gf('django.db.models.fields.TextField')(blank=True)),
            ('created', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime(2011, 11, 30, 15, 7, 43, 667694), auto_now_add=True, blank=True)),
            ('wordform', self.gf('django.db.models.fields.related.ForeignKey')(related_name='poscommon_pos', null=True, to=orm['dbsupply.Wordform'])),
        ))
        db.send_create_signal('dbsupply', ['POSCommon'])

        # Adding model 'Noun'
        db.create_table('dbsupply_noun', (
            ('poscommon_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['dbsupply.POSCommon'], unique=True, primary_key=True)),
            ('sub', self.gf('django.db.models.fields.CharField')(max_length=1)),
            ('case', self.gf('django.db.models.fields.CharField')(max_length=1)),
            ('number', self.gf('django.db.models.fields.CharField')(max_length=1)),
            ('gender', self.gf('django.db.models.fields.CharField')(max_length=1)),
            ('anim', self.gf('django.db.models.fields.CharField')(max_length=1)),
        ))
        db.send_create_signal('dbsupply', ['Noun'])

        # Adding model 'Adjective'
        db.create_table('dbsupply_adjective', (
            ('poscommon_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['dbsupply.POSCommon'], unique=True, primary_key=True)),
            ('sub', self.gf('django.db.models.fields.CharField')(max_length=1)),
            ('case', self.gf('django.db.models.fields.CharField')(max_length=1)),
            ('number', self.gf('django.db.models.fields.CharField')(max_length=1)),
            ('gender', self.gf('django.db.models.fields.CharField')(max_length=1)),
            ('anim', self.gf('django.db.models.fields.CharField')(max_length=1)),
            ('proty', self.gf('django.db.models.fields.CharField')(max_length=1)),
        ))
        db.send_create_signal('dbsupply', ['Adjective'])

        # Adding model 'Verb'
        db.create_table('dbsupply_verb', (
            ('poscommon_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['dbsupply.POSCommon'], unique=True, primary_key=True)),
            ('sub', self.gf('django.db.models.fields.CharField')(max_length=1)),
            ('aspect', self.gf('django.db.models.fields.CharField')(max_length=1)),
            ('voice', self.gf('django.db.models.fields.CharField')(max_length=1)),
            ('mood', self.gf('django.db.models.fields.CharField')(max_length=1)),
            ('trans', self.gf('django.db.models.fields.CharField')(max_length=1)),
            ('verbrefl', self.gf('django.db.models.fields.CharField')(max_length=1)),
            ('person', self.gf('django.db.models.fields.CharField')(max_length=1)),
            ('taxis', self.gf('django.db.models.fields.CharField')(max_length=1)),
            ('number', self.gf('django.db.models.fields.CharField')(max_length=1)),
            ('gender', self.gf('django.db.models.fields.CharField')(max_length=1)),
            ('case', self.gf('django.db.models.fields.CharField')(max_length=1)),
            ('anim', self.gf('django.db.models.fields.CharField')(max_length=1)),
        ))
        db.send_create_signal('dbsupply', ['Verb'])

        # Adding model 'Adverb'
        db.create_table('dbsupply_adverb', (
            ('poscommon_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['dbsupply.POSCommon'], unique=True, primary_key=True)),
            ('sub', self.gf('django.db.models.fields.CharField')(max_length=1)),
            ('proty', self.gf('django.db.models.fields.CharField')(max_length=1)),
        ))
        db.send_create_signal('dbsupply', ['Adverb'])

        # Adding model 'Pronoun'
        db.create_table('dbsupply_pronoun', (
            ('poscommon_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['dbsupply.POSCommon'], unique=True, primary_key=True)),
            ('sub', self.gf('django.db.models.fields.CharField')(max_length=1)),
            ('proty', self.gf('django.db.models.fields.CharField')(max_length=1)),
            ('person', self.gf('django.db.models.fields.CharField')(max_length=1)),
            ('case', self.gf('django.db.models.fields.CharField')(max_length=1)),
            ('number', self.gf('django.db.models.fields.CharField')(max_length=1)),
            ('gender', self.gf('django.db.models.fields.CharField')(max_length=1)),
            ('anim', self.gf('django.db.models.fields.CharField')(max_length=1)),
        ))
        db.send_create_signal('dbsupply', ['Pronoun'])

        # Adding model 'Numbers'
        db.create_table('dbsupply_numbers', (
            ('poscommon_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['dbsupply.POSCommon'], unique=True, primary_key=True)),
            ('sub', self.gf('django.db.models.fields.CharField')(max_length=1)),
            ('case', self.gf('django.db.models.fields.CharField')(max_length=1)),
            ('quant', self.gf('django.db.models.fields.CharField')(max_length=1)),
            ('gender', self.gf('django.db.models.fields.CharField')(max_length=1)),
            ('anim', self.gf('django.db.models.fields.CharField')(max_length=1)),
            ('proty', self.gf('django.db.models.fields.CharField')(max_length=1)),
        ))
        db.send_create_signal('dbsupply', ['Numbers'])

        # Adding model 'Preposition'
        db.create_table('dbsupply_preposition', (
            ('poscommon_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['dbsupply.POSCommon'], unique=True, primary_key=True)),
            ('sub', self.gf('django.db.models.fields.CharField')(max_length=1)),
            ('case', self.gf('django.db.models.fields.CharField')(max_length=1)),
        ))
        db.send_create_signal('dbsupply', ['Preposition'])

        # Adding model 'Conjunction'
        db.create_table('dbsupply_conjunction', (
            ('poscommon_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['dbsupply.POSCommon'], unique=True, primary_key=True)),
            ('sub', self.gf('django.db.models.fields.CharField')(max_length=1)),
        ))
        db.send_create_signal('dbsupply', ['Conjunction'])

        # Adding model 'Particle'
        db.create_table('dbsupply_particle', (
            ('poscommon_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['dbsupply.POSCommon'], unique=True, primary_key=True)),
            ('sub', self.gf('django.db.models.fields.CharField')(max_length=1)),
            ('proty', self.gf('django.db.models.fields.CharField')(max_length=1)),
        ))
        db.send_create_signal('dbsupply', ['Particle'])

        # Adding model 'Interjection'
        db.create_table('dbsupply_interjection', (
            ('poscommon_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['dbsupply.POSCommon'], unique=True, primary_key=True)),
        ))
        db.send_create_signal('dbsupply', ['Interjection'])


    def backwards(self, orm):
        
        # Deleting model 'Wordform'
        db.delete_table('dbsupply_wordform')

        # Deleting model 'Lemma'
        db.delete_table('dbsupply_lemma')

        # Deleting model 'POSCommon'
        db.delete_table('dbsupply_poscommon')

        # Deleting model 'Noun'
        db.delete_table('dbsupply_noun')

        # Deleting model 'Adjective'
        db.delete_table('dbsupply_adjective')

        # Deleting model 'Verb'
        db.delete_table('dbsupply_verb')

        # Deleting model 'Adverb'
        db.delete_table('dbsupply_adverb')

        # Deleting model 'Pronoun'
        db.delete_table('dbsupply_pronoun')

        # Deleting model 'Numbers'
        db.delete_table('dbsupply_numbers')

        # Deleting model 'Preposition'
        db.delete_table('dbsupply_preposition')

        # Deleting model 'Conjunction'
        db.delete_table('dbsupply_conjunction')

        # Deleting model 'Particle'
        db.delete_table('dbsupply_particle')

        # Deleting model 'Interjection'
        db.delete_table('dbsupply_interjection')


    models = {
        'dbsupply.adjective': {
            'Meta': {'object_name': 'Adjective', '_ormbases': ['dbsupply.POSCommon']},
            'anim': ('django.db.models.fields.CharField', [], {'max_length': '1'}),
            'case': ('django.db.models.fields.CharField', [], {'max_length': '1'}),
            'gender': ('django.db.models.fields.CharField', [], {'max_length': '1'}),
            'number': ('django.db.models.fields.CharField', [], {'max_length': '1'}),
            'poscommon_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['dbsupply.POSCommon']", 'unique': 'True', 'primary_key': 'True'}),
            'proty': ('django.db.models.fields.CharField', [], {'max_length': '1'}),
            'sub': ('django.db.models.fields.CharField', [], {'max_length': '1'})
        },
        'dbsupply.adverb': {
            'Meta': {'object_name': 'Adverb', '_ormbases': ['dbsupply.POSCommon']},
            'poscommon_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['dbsupply.POSCommon']", 'unique': 'True', 'primary_key': 'True'}),
            'proty': ('django.db.models.fields.CharField', [], {'max_length': '1'}),
            'sub': ('django.db.models.fields.CharField', [], {'max_length': '1'})
        },
        'dbsupply.conjunction': {
            'Meta': {'object_name': 'Conjunction', '_ormbases': ['dbsupply.POSCommon']},
            'poscommon_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['dbsupply.POSCommon']", 'unique': 'True', 'primary_key': 'True'}),
            'sub': ('django.db.models.fields.CharField', [], {'max_length': '1'})
        },
        'dbsupply.interjection': {
            'Meta': {'object_name': 'Interjection', '_ormbases': ['dbsupply.POSCommon']},
            'poscommon_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['dbsupply.POSCommon']", 'unique': 'True', 'primary_key': 'True'})
        },
        'dbsupply.lemma': {
            'Meta': {'object_name': 'Lemma'},
            'created': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2011, 11, 30, 15, 7, 43, 667142)', 'auto_now_add': 'True', 'blank': 'True'}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'spelling': ('django.db.models.fields.CharField', [], {'max_length': '500'}),
            'verification_comment': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
            'verified': ('django.db.models.fields.BooleanField', [], {'default': 'False'})
        },
        'dbsupply.noun': {
            'Meta': {'object_name': 'Noun', '_ormbases': ['dbsupply.POSCommon']},
            'anim': ('django.db.models.fields.CharField', [], {'max_length': '1'}),
            'case': ('django.db.models.fields.CharField', [], {'max_length': '1'}),
            'gender': ('django.db.models.fields.CharField', [], {'max_length': '1'}),
            'number': ('django.db.models.fields.CharField', [], {'max_length': '1'}),
            'poscommon_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['dbsupply.POSCommon']", 'unique': 'True', 'primary_key': 'True'}),
            'sub': ('django.db.models.fields.CharField', [], {'max_length': '1'})
        },
        'dbsupply.numbers': {
            'Meta': {'object_name': 'Numbers', '_ormbases': ['dbsupply.POSCommon']},
            'anim': ('django.db.models.fields.CharField', [], {'max_length': '1'}),
            'case': ('django.db.models.fields.CharField', [], {'max_length': '1'}),
            'gender': ('django.db.models.fields.CharField', [], {'max_length': '1'}),
            'poscommon_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['dbsupply.POSCommon']", 'unique': 'True', 'primary_key': 'True'}),
            'proty': ('django.db.models.fields.CharField', [], {'max_length': '1'}),
            'quant': ('django.db.models.fields.CharField', [], {'max_length': '1'}),
            'sub': ('django.db.models.fields.CharField', [], {'max_length': '1'})
        },
        'dbsupply.particle': {
            'Meta': {'object_name': 'Particle', '_ormbases': ['dbsupply.POSCommon']},
            'poscommon_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['dbsupply.POSCommon']", 'unique': 'True', 'primary_key': 'True'}),
            'proty': ('django.db.models.fields.CharField', [], {'max_length': '1'}),
            'sub': ('django.db.models.fields.CharField', [], {'max_length': '1'})
        },
        'dbsupply.poscommon': {
            'Meta': {'object_name': 'POSCommon'},
            'created': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2011, 11, 30, 15, 7, 43, 667694)', 'auto_now_add': 'True', 'blank': 'True'}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'lemma': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'poscommon_pos'", 'to': "orm['dbsupply.Lemma']"}),
            'spelling': ('django.db.models.fields.CharField', [], {'max_length': '500'}),
            'verification_comment': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
            'verified': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'wordform': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'poscommon_pos'", 'null': 'True', 'to': "orm['dbsupply.Wordform']"})
        },
        'dbsupply.preposition': {
            'Meta': {'object_name': 'Preposition', '_ormbases': ['dbsupply.POSCommon']},
            'case': ('django.db.models.fields.CharField', [], {'max_length': '1'}),
            'poscommon_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['dbsupply.POSCommon']", 'unique': 'True', 'primary_key': 'True'}),
            'sub': ('django.db.models.fields.CharField', [], {'max_length': '1'})
        },
        'dbsupply.pronoun': {
            'Meta': {'object_name': 'Pronoun', '_ormbases': ['dbsupply.POSCommon']},
            'anim': ('django.db.models.fields.CharField', [], {'max_length': '1'}),
            'case': ('django.db.models.fields.CharField', [], {'max_length': '1'}),
            'gender': ('django.db.models.fields.CharField', [], {'max_length': '1'}),
            'number': ('django.db.models.fields.CharField', [], {'max_length': '1'}),
            'person': ('django.db.models.fields.CharField', [], {'max_length': '1'}),
            'poscommon_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['dbsupply.POSCommon']", 'unique': 'True', 'primary_key': 'True'}),
            'proty': ('django.db.models.fields.CharField', [], {'max_length': '1'}),
            'sub': ('django.db.models.fields.CharField', [], {'max_length': '1'})
        },
        'dbsupply.verb': {
            'Meta': {'object_name': 'Verb', '_ormbases': ['dbsupply.POSCommon']},
            'anim': ('django.db.models.fields.CharField', [], {'max_length': '1'}),
            'aspect': ('django.db.models.fields.CharField', [], {'max_length': '1'}),
            'case': ('django.db.models.fields.CharField', [], {'max_length': '1'}),
            'gender': ('django.db.models.fields.CharField', [], {'max_length': '1'}),
            'mood': ('django.db.models.fields.CharField', [], {'max_length': '1'}),
            'number': ('django.db.models.fields.CharField', [], {'max_length': '1'}),
            'person': ('django.db.models.fields.CharField', [], {'max_length': '1'}),
            'poscommon_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['dbsupply.POSCommon']", 'unique': 'True', 'primary_key': 'True'}),
            'sub': ('django.db.models.fields.CharField', [], {'max_length': '1'}),
            'taxis': ('django.db.models.fields.CharField', [], {'max_length': '1'}),
            'trans': ('django.db.models.fields.CharField', [], {'max_length': '1'}),
            'verbrefl': ('django.db.models.fields.CharField', [], {'max_length': '1'}),
            'voice': ('django.db.models.fields.CharField', [], {'max_length': '1'})
        },
        'dbsupply.wordform': {
            'Meta': {'object_name': 'Wordform'},
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
        }
    }

    complete_apps = ['dbsupply']
